package com.lzs.esubscribe.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class ImportResultDTO implements Serializable {
    @ApiModelProperty(value = "导入的资源组树结构列表")
    private UrlListDTO resultList;

    @ApiModelProperty(value = "成功数")
    private int successNum;

    @ApiModelProperty(value = "失败数")
    private int failNum;

    public ImportResultDTO(UrlListDTO resultList, int successNum, int failNum){
        this.resultList = resultList;
        this.successNum = successNum;
        this.failNum = failNum;
    }
}
